package edu.yctc.weblog.constant;

/**
 * 
 * @className URLConstant
 * @description rest请求url
 * @author zyj
 * @date 2020年6月17日
 *
 */
public class URLConstant {

    public static final String S = "/";

    // admin start
    public static final String ADMIN = "restadmin";
    public static final String ADMIN_GET_ADMINDO = "get-admindo";
    // admin end

    // category start
    public static final String CATEGORY = "restcategory";
    public static final String CATEGORY_GET_CATEGORY_LIST = "get-category-list";
    public static final String CATEGORY_SAVE_CATEGORY = "save-category";
    public static final String CATEGORY_UPDATE_CATEGORY = "update-category";
    public static final String CATEGORY_DELETE_CATEGORY = "delete-category";
    // category end

    // tag start
    public static final String TAG = "resttag";
    public static final String TAG_GET_TAG_LIST = "get-tag-list";
    public static final String TAG_SAVE_TAG = "save-tag";
    public static final String TAG_DELETE_TAG = "delete-tag";
    // tag end

    // blog start
    public static final String BLOG = "restblog";
    public static final String BLOG_MD = "md";
    public static final String BLOG_UPLOAD_FILE = "upload-file";
    public static final String BLOG_GET_BLOG_LIST = "get-blog-list";
    public static final String BLOG_SAVE_BLOG = "save-blog";
    public static final String BLOG_UPDATE_BLOG = "update-blog";
    public static final String BLOG_DELETE_BLOG = "delete-blog";
    // blog end

    // upload start
    public static final String UPLOAD = "restupload";
    public static final String UPLOAD_UPLOAD_FILE = "upload-file";
    // blog end

    // link start
    public static final String LINK = "restlink";
    public static final String LINK_GET_LINK_LIST = "get-link-list";
    public static final String LINK_SAVE_LINK = "save-link";
    public static final String LINK_INFO = "info";
    public static final String LINK_UPDATE = "update";
    public static final String LINK_DELETE = "delete";
    // link end

    // comment start
    public static final String COMMENT = "restcomment";
    public static final String COMMENT_GET_COMMENT_LIST = "get-comment-list";
    public static final String COMMENT_CHECK_DONE = "check-done";
    public static final String COMMENT_REPLY = "reply";
    public static final String COMMENT_DELETE = "delete";
    public static final String BLOG_COMMENT = "comment";
    // comment end

    // config start
    public static final String CONFIG = "restconfig";
    public static final String CONFIG_WEBSITE_CONFIG = "website-config";
    public static final String CONFIG_USER_INFO = "user-info";
    public static final String CONFIG_FOOTER_CONFIG = "footer-config";
    // config end

}
